<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix='fn' uri='http://java.sun.com/jsp/jstl/functions' %>
<%@ taglib prefix ="spring" uri = "http://www.springframework.org/tags" %>
<c:url value="/category" var="path"/>
<c:if test="${fn:length(categories) > 0}">
	<div class="category_container">
		<span class="category" id=""><a class="search_filter" name="category:"><spring:message code="label.all.categories"/></a></span>
		<c:forEach items="${categories}" var="category" varStatus="status">
			>
			<span class="category" id="${category.id}"><a class="search_filter" name="category:${category.id}">${category.description}</a>
			</span>
		</c:forEach>
	</div>
</c:if>